import React from 'react';
import RcPagination from 'rc-pagination';
import 'rc-pagination/dist/rc-pagination.min.css';

class Pagination extends React.Component {
    constructor(props) {
        super(props);
    }
    render() {
        return (
            <div className="row">
                <div className="col-md-12">
                    <RcPagination {...this.props} 
                    hideOnSinglePage
                    showQuickJumper/>
                </div>
            </div>
        )
    }
}


export default Pagination
//这样这个Pagination 
//在其它页面直接引入这个组件，传递相应参数即可使用

